﻿/**
 * Project SEM 2 - SMS for schools
 * File author:ToanMH
 * Datetime create:14/11/2010
 * File version:1.0
 * File description:
 * 
 * Modify history:
 * 
 */
using System;
using System.Collections.Generic;
using System.Text;
using LogHelper;
using System.Windows.Forms;

namespace sms_modem_control
{
     public  class Programe
    {
        public static frmControler control;
        [STAThread]
        static void Main()
        {
            try
            {
                Application.EnableVisualStyles();
                Application.SetCompatibleTextRenderingDefault(false);
                control = new frmControler();
                Application.Run(control);
            }
            catch (Exception e) {
                MessageBox.Show("Error while start up.\n" + e.Message);
                Log.logTransaction(e);
            }
        }
    }
}
